<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改密码</title>
<jsp:include page="../include/edit_meta.jsp"></jsp:include>
</head>
<body>

<div>
    <div class="panel_header">
        <h1>修改密码</h1>
    </div>
    <div class="panel_body">
    	<div id="msg"></div>
        <!--表单布局-->
        <form action="${ctx }/user/password!update.shtml" id="edit_form">
        	<input type="hidden" name="id" value="${user.id }" />
	        <div class="form_wrap">
		        <div class="form_item br">
		            <label>旧密码：</label>
		            <input name="oldPassword" type="password" class="input_text {required:true,rangelength:[5,18]}" />
		        </div>
		        <div class="form_item br">
		            <label>新密码：</label>
		            <input name="newPassword" class="input_text {required:true,rangelength:[5,18]}" type="password" />
		        </div>
		        <div class="form_item br">
		            <label>重复密码：</label>
		            <input name="repPassword" class="input_text {required:true,rangelength:[5,18]}" type="password" />
		        </div>
		        <div class="divider"></div>
		    </div>
			    
		    <div class="form_btn">
		        <ul>
		            <li><input type="submit" value="修改" /></li>
		            <li><input type="button" value="取销" onclick="cancel()"/></li>
		        </ul>
		    </div>
	    </form>
        <!--表单布局end-->
    </div>
</div>
</body>
</html>